class ElderCareEntity {
  final int? total;
  List<ElderCareInfo>? rows;

  ElderCareEntity({this.rows, this.total});

  factory ElderCareEntity.fromJson(Map<String, dynamic> json) {
    final originList = json['rows'] as List?;
    List<ElderCareInfo> protocolList =
        (originList??[]).map((value) => ElderCareInfo.fromJson(value)).toList();
    return ElderCareEntity(rows: protocolList, total: json['total']);
  }
}

class ElderCareInfo {
  String? updatedDate;
  String? statusName;
  String? launchTypeName;
  int? id;

  ElderCareInfo(
      {this.updatedDate, this.statusName, this.launchTypeName, this.id});

  ElderCareInfo.fromJson(Map data) {
    updatedDate = data['updatedDate'];
    statusName = data['statusName'];
    launchTypeName = data['launchTypeName'];
    id = data['id'];
  }
}
